package _13define.productTest;

import _13define.productTest.controller.PcoductController;
import _13define.productTest.model.Product;

public class ProductTest {
    public static void main(String[] args) {
        //获取商品数据
        PcoductController controller=new PcoductController();
        Product[] products=controller.findAllProducts();
        //遍历所有商品并输出
        for (Product product : products) {
            product.print();
            
        }
    }
}
